const SHOW_WEEKDATE_KEY = 'show-weekdate';
const ELLIPSIS_CHAR = '\u2026';
+const MESSAGE_ICON_SIZE = 48;
+
const MESSAGE_ANIMATION_TIME = 0.1;
const DEFAULT_EXPAND_LINES = 6;
_getIcon: function() {
if (this.notification.gicon)
- return new St.Icon({ gicon: this.notification.gicon, icon_size: 48 });
+ return new St.Icon({ gicon: this.notification.gicon,
+ icon_size: MESSAGE_ICON_SIZE });
else
- return this.notification.source.createIcon(48);
+ return this.notification.source.createIcon(MESSAGE_ICON_SIZE);
},
_onUpdated: function(n, clear) {